const getters = {
  userId: state => state.user.state.userId,
  token: state => state.user.token,
  userName: state => state.user.name,
  isLogin: state => state.user.isLogin,
  userRole: state => state.user.userRole,



  sidebar: state => state.app.sidebar,
  device: state => state.app.device,


  permission_routers: state => state.permission.routers,

  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews
};

export default getters;
